Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / IPicture Interface / ChangeImage Method / ChangeImage(Byte[],AspectRatio) Method
The image data.
Specifies how to resize the new image. If omitted, the original height is kept.


In This Topic
    ChangeImage(Byte[],AspectRatio) Method
    In This Topic
    Replaces the current image with a different image.
    Syntax
    'Declaration
     
    
    Overloads Sub ChangeImage( _
       ByVal data() As Byte, _
       Optional ByVal aspect As AspectRatio _
    ) 
    'Usage
     
    
    Dim instance As IPicture
    Dim data() As Byte
    Dim aspect As AspectRatio
     
    instance.ChangeImage(data, aspect)
    void ChangeImage( 
       byte[] data,
       AspectRatio aspect
    )

    Parameters

    data
    The image data.
    aspect
    Specifies how to resize the new image. If omitted, the original height is kept.
    See Also